import Request from '@/api/request'
var request = new Request().http
//通过id获取用户信息
export function getUserInfo(userId :string) {
    return request({
        url: "/user/getUserInfoById",
        method: "Get",
        data:{
			userId
		}
    })
}
//通过电话号码获取用户信息
export function getUserInfoByTele(telephone :string) {
    return request({
        url: "/user/getUserInfoByTele",
        method: "Get",
        data:{
			telephone
		}
    })
}

